<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .b2 {
            width: 300px;
            height: 350px;
            border: 4px solid #000;
            margin: 50px;
        }
        .c1>div,.c2>div {
            margin-top: 20px;
            width: 40px;
            height: 40px;
            border: 20px solid #000;
            background-color: red;
            border-radius: 100%;
        }
        .c1 .d2 {
            margin-top: 50px;
        }
        .c1 .d3 {
            margin-top: 80px;
        }
        .c1 {
            display: flex;
            justify-content: center;
        }
        .w1{
            display: flex;
            margin-left: 40px;
        }
        c2{
            border: 1px solid yellow;
            width: 150px;
            height: 180px;
        }
        .c2 div{
           margin: 3px 0px 0px 20px ;
        }



    </style>
</head>
<body>
<div class="b2">
    <div class="c1">
        <div ></div>
        <div class="d2"></div>
        <div class="d3"></div>
    </div>

    <div class="w1">
    <div class="c2">
        <div></div>
        <div></div>
    </div>
    <div class="c2">
        <div></div>
        <div></div>
    </div>
    </div>
</body>
</html>